using System;
using System.Windows;
using WPFPractice.Utils;
using WPFPractice.ViewModels;

namespace WPFPractice.Windows
{
	/// <summary>
	/// WinControls.xaml 的交互逻辑
	/// </summary>
	public partial class WinControls : Window
	{
		public WinControls()
		{
			InitializeComponent();
			DataContext = new ControlsViewModel();
		}
	}
}

namespace WPFPractice.ViewModels
{
	public class ControlsViewModel : MyViewModelBase
	{
		#region 绑定

		public DateTime MyDateTime { get; set; } = DateTime.Now;

		#endregion

		#region 方法

		/// <inheritdoc />
		protected override void InitDataAfterConstruction()
		{
			Console.WriteLine("演示 带 加载/移除 动画的列表");
			Console.WriteLine("演示 圆角裁剪");
			Console.WriteLine("演示 日期时间选择器");
			Console.WriteLine("演示 可翻转控件");
		}

		#endregion
	}
}
